A Python extension for the massively parallel framework waLBerla
نویسندگان
چکیده
We present a Python extension to the massively parallel HPC framework WALBERLA. WALBERLA is a framework for stencil based algorithms operating on block-structured grids, with the main application field being fluid simulations in complex geometries using the lattice Boltzmann method. Careful performance engineering results in good scalability to over 400,000 cores. To increase the usability and flexibility of the framework, a Python interface was developed. Python extensions are used at all stages of the simulation pipeline: They simplify and automate scenario setup, evaluation, and plotting. We show how our Python interface outperforms the existing a text-filebased configuration mechanism, providing features like automatic nondimensionalization of physical quantities and handling of complex parameter dependencies. Furthermore, Python is used to process and evaluate results while the simulation is running, leading to smaller output files and the possibility to adjust parameters dependent on the current simulation state. C++ data structures are exported such that a seamless interfacing to other numerical Python libraries is possible. The expressive power of Python and the performance of C++ make development of efficient code with low time effort possible.
منابع مشابه
A Python Extension for the Massively Parallel Multiphysics Simulation Framework waLBerla
We present a Python extension to the massively parallel HPC simulation toolkit waLBerla. waLBerla is a framework for stencil based algorithms operating on block-structured grids, with the main application field being fluid simulations in complex geometries using the lattice Boltzmann method. Careful performance engineering results in excellent node performance and good scalability to over 400,0...
متن کاملWaLBerla: HPC software design for computational engineering simulations
WaLBerla (Widely applicable Lattice-Boltzmann from Erlangen) is a massively parallel software framework supporting a wide range of physical phenomena. This article describes the software designs realizing the major goal of the framework, a good balance between expandabil-ity and scalable, highly optimized, hardware-dependent, special purpose kernels. To demonstrate our designs, we discuss the c...
متن کاملDesign and Performance Evaluation of a Software Framework for Multi-Physics Simulations on Heterogeneous Supercomputers
Despite the experience of several decades the numerical simulation of computational fluid dynamics is still an enormously challenging and active research field. Most simulation tasks of scientific and industrial relevance require the modeling of multiple physical effects, complex numerical algorithms, and have to be executed on supercomputers due to their high computational demands. Facing thes...
متن کاملA Parallel Free Surface Lattice Boltzmann Method for Large-Scale Applications
In recent years the lattice Boltzmann method (LBM) has been established as a popular alternative to conventional computational fluid dynamics. With a free surface extension to the method, simulation of bubbly flows and even metal foaming processes is possible. The extension is based on a volume of fluid approach and an explicit tracking of the interface, including a reconstruction of the curvat...
متن کاملParallel multiphysics simulations of charged particles in microfluidic flows
The article describes parallel multiphysics simulations of charged particles in microfluidic flows with the waLBerla framework. To this end, three physical effects are coupled: rigid body dynamics, fluid flow modelled by a lattice Boltzmann algorithm, and electric potentials represented by a finite volume discretisation. For solving the finite volume discretisation for the electrostatic forces,...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014